using Engine;
using Game;

namespace SCIENEW {
    public class HearthFurnaceInputPortTransferrer : FluidTransferrer {
        public ComponentHearthFurnace m_componentHearthFurnace;

        public HearthFurnaceInputPortTransferrer(Point3 position, SubsystemTerrain subsystemTerrain) : base(position, subsystemTerrain) { }

        public void AssignHearthFurnace(ComponentHearthFurnace componentHearthFurnace) {
            m_componentHearthFurnace = componentHearthFurnace;
        }

        public void ResetHearthFurnace() => m_componentHearthFurnace = null;

        public override ITank GetTank() => m_componentHearthFurnace;
    }
}